package com.zz.ecommerce.pojo;

import com.zz.bundles.cache.dict.DictTag;
import com.zz.ecommerce.common.constants.DictConstants;
import com.zz.ecommerce.utils.SqlType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 核销账册基本信息（参考QP界面设计）
 */
public class TECancelBase implements Serializable {
    private static final long serialVersionUID = 378591495021566519L;

    /**
     * 唯一序列号
     */
    private String id;

    /**
     * 手册编号
     */
    private String eBillingNo;

    /**
     * 企业内部编码
     */
    private String entEBillingNo;

    /**
     * 经营单位
     */
    private String enterpriseName;

    /**
     * 报核类型
     */
    private String decType;

    /**
     * 进口总金额
     */
    private BigDecimal importTotalValue;

    /**
     * 出口总金额
     */
    private BigDecimal exportTotalValue;

    /**
     * 进口报关单份数
     */
    private String importTotalDeclareNum;

    /**
     * 出口报关单份数
     */
    private String exportTotalDeclareNum;

    /**
     * 报核料件份数
     */
    private String cancelMaterialsNum;

    /**
     * 报核成品项数
     */
    private String cancelEndgoodNum;

    /**
     * 录入日期
     */
    @SqlType(type = "date",format = "yyyy-MM-dd hh:mi:ss")
    private String createDate;

    /**
     * 申报日期
     */
    @SqlType(type = "date",format = "yyyy-MM-dd",qryStart = "declDateStart",qryEnd = "declDateEnd")
    private String declDate;

    @SqlType(inTable = false)
    private String declDateStart;

    @SqlType(inTable = false)
    private String declDateEnd;

    /**
     * 录入员代码
     */
    private String createOperId;

    /**
     * 操作员
     */
    private String operId;

    /**
     * 组织机构
     */
    private String orgId;

    /**
     * 核销状态
     */
    @SqlType(isEquals=true)
    private String sendStatus;

    /**
     * @return 唯一序列号
     */
    public String getId() {
        return id;
    }

    /**
     * @param id 
	 *            唯一序列号
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return 手册编号
     */
    public String geteBillingNo() {
        return eBillingNo;
    }

    /**
     * @param eBillingNo 
	 *            手册编号
     */
    public void seteBillingNo(String eBillingNo) {
        this.eBillingNo = eBillingNo;
    }

    /**
     * @return 企业内部编码
     */
    public String getEntEBillingNo() {
        return entEBillingNo;
    }

    /**
     * @param entEBillingNo 
	 *            企业内部编码
     */
    public void setEntEBillingNo(String entEBillingNo) {
        this.entEBillingNo = entEBillingNo;
    }

    /**
     * @return 经营单位
     */
    public String getEnterpriseName() {
        return enterpriseName;
    }

    /**
     * @param enterpriseName 
	 *            经营单位
     */
    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    /**
     * @return 报核类型
     */
    public String getDecType() {
        return decType;
    }

    /**
     * @param decType 
	 *            报核类型
     */
    public void setDecType(String decType) {
        this.decType = decType;
    }

    /**
     * @return 进口总金额
     */
    public BigDecimal getImportTotalValue() {
        return importTotalValue;
    }

    /**
     * @param importTotalValue 
	 *            进口总金额
     */
    public void setImportTotalValue(BigDecimal importTotalValue) {
        this.importTotalValue = importTotalValue;
    }

    /**
     * @return 出口总金额
     */
    public BigDecimal getExportTotalValue() {
        return exportTotalValue;
    }

    /**
     * @param exportTotalValue 
	 *            出口总金额
     */
    public void setExportTotalValue(BigDecimal exportTotalValue) {
        this.exportTotalValue = exportTotalValue;
    }

    /**
     * @return 进口报关单份数
     */
    public String getImportTotalDeclareNum() {
        return importTotalDeclareNum;
    }

    /**
     * @param importTotalDeclareNum 
	 *            进口报关单份数
     */
    public void setImportTotalDeclareNum(String importTotalDeclareNum) {
        this.importTotalDeclareNum = importTotalDeclareNum;
    }

    /**
     * @return 出口报关单份数
     */
    public String getExportTotalDeclareNum() {
        return exportTotalDeclareNum;
    }

    /**
     * @param exportTotalDeclareNum 
	 *            出口报关单份数
     */
    public void setExportTotalDeclareNum(String exportTotalDeclareNum) {
        this.exportTotalDeclareNum = exportTotalDeclareNum;
    }

    /**
     * @return 报核料件份数
     */
    public String getCancelMaterialsNum() {
        return cancelMaterialsNum;
    }

    /**
     * @param cancelMaterialsNum 
	 *            报核料件份数
     */
    public void setCancelMaterialsNum(String cancelMaterialsNum) {
        this.cancelMaterialsNum = cancelMaterialsNum;
    }

    /**
     * @return 报核成品项数
     */
    public String getCancelEndgoodNum() {
        return cancelEndgoodNum;
    }

    /**
     * @param cancelEndgoodNum 
	 *            报核成品项数
     */
    public void setCancelEndgoodNum(String cancelEndgoodNum) {
        this.cancelEndgoodNum = cancelEndgoodNum;
    }

    /**
     * @return 录入日期
     */
    public String getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate 
	 *            录入日期
     */
    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    /**
     * @return 申报日期
     */
    public String getDeclDate() {
        return declDate;
    }

    /**
     * @param declDate 
	 *            申报日期
     */
    public void setDeclDate(String declDate) {
        this.declDate = declDate;
    }

    /**
     * @return 录入员代码
     */
    public String getCreateOperId() {
        return createOperId;
    }

    /**
     * @param createOperId 
	 *            录入员代码
     */
    public void setCreateOperId(String createOperId) {
        this.createOperId = createOperId;
    }

    /**
     * @return 操作员
     */
    public String getOperId() {
        return operId;
    }

    /**
     * @param operId 
	 *            操作员
     */
    public void setOperId(String operId) {
        this.operId = operId;
    }

    /**
     * @return 组织机构
     */
    public String getOrgId() {
        return orgId;
    }

    /**
     * @param orgId 
	 *            组织机构
     */
    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getDeclDateStart() {
        return declDateStart;
    }

    public void setDeclDateStart(String declDateStart) {
        this.declDateStart = declDateStart;
    }

    public String getDeclDateEnd() {
        return declDateEnd;
    }

    public void setDeclDateEnd(String declDateEnd) {
        this.declDateEnd = declDateEnd;
    }

    public String getSendStatus() {
        return sendStatus;
    }

    public String getSendStatusDisplay() {
        return DictTag.dictItem(DictConstants.VARIFY_EBILL_STATUS,sendStatus);
    }

    public void setSendStatus(String sendStatus) {
        this.sendStatus = sendStatus;
    }
}